<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@taglib uri="/struts-tags" prefix="s"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">

<title>My JSP 'signst.jsp' starting page</title>

<script type="text/javascript" src="js/My97DatePicker/WdatePicker.js"></script>

<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
<script type="text/javascript">
	function show() {
		if (document.getElementById("dpt").checked == true) {
			document.getElementById("slt").disabled = false;
		} else {
			document.getElementById("slt").disabled = true;
		}
	}
	function showid() {
		if (document.getElementById("ygid").checked == true) {
			document.getElementById("ygidd").disabled = false;
		} else {
			document.getElementById("ygidd").disabled = true;
		}
	}
	function shown() {
		if (document.getElementById("uname").checked == true) {
			document.getElementById("unamee").disabled = false;
		} else {
			document.getElementById("unamee").disabled = true;
		}
	}
</script>
<style type="text/css">
body {
	background-color: #E3F5FA;
	height: 1000px;
}
</style>
<sx:head />
</head>

<body>
	<p>>>当前位置：员工考勤统计</p>
	
	<center>
		<p align="center" style="font-size: 20px; font-weight: bold;">员工考勤统计</p>
		<s:form action="doselectst">
			<table width="900px">
				<tr>
					<td style="border-bottom: 2px #CED3D3 solid; height: 50px;">
						输入时间段：&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 开始时间：<s:textfield type="text"
							name="begintime" onclick="WdatePicker()"></s:textfield>-----
						结束时间：<s:textfield type="text" name="endtime"
							onclick="WdatePicker()"></s:textfield> <input type="radio"
						name="alltime" value="day" />本日 <input type="radio"
						name="alltime" value="week" />本周 <input type="radio"
						name="alltime" value="mouth" />本月 <input type="radio"
						name="alltime" value="year" />本年
					</td>
				</tr>

				<tr>
					<td style=" height: 50px;">部门： <s:select
							list="%{#session.dptlist}" listKey="departid"
							listValue="departname" name="department" headerKey="0"
							headerValue="==请选择==" disabled="true">
						</s:select> &nbsp;&nbsp;&nbsp;&nbsp; <sx:submit type="submit" value="统计"
							targets="div1"></sx:submit> <input type="button" value="导出到Excel"
						disabled="disabled" />
					</td>
				</tr>
			</table>
		</s:form>

		<div id="div1"></div>
	</center>
</body>
</html>
